package com.yale.springbootsecuritymd5.model.repository;

import com.yale.springbootsecuritymd5.model.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by admin on 2017/8/18.
 */
@Repository
public interface UserRepos extends JpaRepository<User, String> {

    User findByUserName(String userName);

}
